<table class="data-table" cellspacing="0">
	<thead>
		<tr>
			{#foreach $T.rows as row}
				<th class="data-head row-{$T.row.name}" width="{$T.row.width}">{$T.row.title}<span class="sort-tag"></span></th>
			{#/for}
		</tr>
	</thead>
	<tbody>
		{#if $T.showPage.result && $T.showPage.result.length > 0}
		{#for index = 0 to $T._pageSize}
			<tr class="{$T.index == $T._pageSize ? 'last' : ''} {$T.index % 2 == 0 ? 'odd' : 'even'}">
				{#for rowIndex = 0 to $T.maxRow}
					<td>
						{#include rowData root=_make_cur_data($T.rowIndex, $T.showPage.result[$T.index])}
					</td>
				{#/for}
			</tr>
		{#/for}
		{#else}
			{#for index = 0 to $T._pageSize}
				<tr class="{$T.index == $T._pageSize ? 'last' : ''} {$T.index % 2 == 0 ? 'odd' : 'even'}">
					{#if parseInt($T._pageSize / 2) == $T.index}
						<td colspan="{$T.rows.length}" class="data-table-no-data-td">
							没有您想要查看的数据
						</td>
					{#else}
						<td colspan="{$T.rows.length}" class="data-table-no-data-td">
							&nbsp;
						</td>
					{#/if}
				</tr>
			{#/for}
		{#/if}
	</tbody>
</table>
<div class="pagebar_area">
	
</div>